Repository navigation
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough워크플로가 암호화된 App Store 다운로드 이력을 복원하고 갱신합니다. 보고서는 연속해서 확인된 일별 데이터의 누적 합계를 표시합니다. Discord 전송은 수집·저장 단계와 분리되어 조건에 따라 실행됩니다. ChangesApp Store 다운로드 이력
Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant Actions as GitHub Actions
participant Restore as restore-history.mjs
participant API as GitHub API
participant Report as run-report.mjs
participant Apple as Apple API
participant Discord
Actions->>Restore: 이력 아티팩트 검색 시작
Restore->>API: 아티팩트 및 실행 정보 조회
API-->>Restore: 후보 아티팩트 정보 반환
Restore-->>Actions: 선택한 실행 및 아티팩트 ID 기록
Actions->>Report: 복원된 이력으로 보고서 실행
Report->>Apple: 다운로드 데이터 수집
Apple-->>Report: 날짜별 다운로드 데이터 반환
Report-->>Actions: 암호화된 이력 저장 및 보고서 생성
Actions->>Discord: 조건에 따라 저장된 보고서 전송
Possibly related PRs
Merge Risk:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🌳 작업한 브랜치
feat/#183· 기존 자동화 PR #183 후속 변경✅ 작업한 내용
주간·수동 리포트에 기간별 합계와 함께 전체 최초 다운로드 수와 누적 기준일을 표시합니다. 출시일부터 이어지는 자료에 공백이 있으면 마지막 확인일까지의 누적값과 대기 상태를 표시하며, 누락 날짜를 0으로 추정하지 않습니다.
Apple 보고서의 35일 보존 제한에 대비해 검증된 초기 일별 이력과 이후 정정 자료를 이어 보관합니다. 이력은 AES-256-GCM으로 암호화하고 GitHub Actions Artifact에 90일 보관하며, 업로드 성공 후 동일한 집계 결과를 Discord로 전송합니다. 공개 코드·로그·요약에는 실제 통계나 비밀값을 기록하지 않습니다.
ROUTEE_DOWNLOAD_HISTORY_KEYSecret 등록 완료develop의 예약·수동 실행에서만 수행❗️PR Point
암호화 이력을 보관한 뒤 전송하며, 이력 공백을 0으로 처리하지 않습니다. 초기 이력은 암호화된 파일만 포함하며 복호화 키는 Repository Secret에 저장합니다.
💬 To Reviewers
Node 테스트 49개 통과, workflow YAML 파싱 및
git diff --check통과. 실제 초기 CSV의 날짜 범위·명시적 0·합계를 App Store Connect 화면과 대조했고, 암호화 복호화 및 저장된 이력의 리포트 생성도 로컬에서 확인했습니다. 전체 GitHub Actions 수집·보관·전송 흐름은 병합 후 검증이 필요합니다.Summary by CodeRabbit